package com.example.springboothello.websocket.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @Author JC
 * @description TODO
 * @Date 2023-10-23 20:14
 * @Version 1.0
 */
@Configuration
public class webSocketConfig {

    @Bean
    public ServerEndpointExporter serverEndpointExporter() {
        return new ServerEndpointExporter();
    }

}

